Shut Down the MCT Port Channel on Leaf Devices

The following sample output shuts down an MCT port channel on leaf devices:

Shutdown port channel of 10.20.246.5(mct pair 10.20.246.6) and 10.20.246.3(mct pair 10.20.246.4)

NHF-Leaf1(config)# interface Port-channel 64
NHF-Leaf1(config-Port-channel-64)# shutdown
NHF-Leaf1(config-Port-channel-64)#

NH-Leaf1(config)# interface Port-channel 64
NH-Leaf1(config-Port-channel-64)# shutdown
NH-Leaf1(config-Port-channel-64)#

Need to wait for some time to get the raslog events and update in fabric



(efa:user)user@dev-server:~$ efa fabric show --name fab3

Fabric Name: fab3, Fabric Description: , Fabric Stage: 3, Fabric Type: clos, Fabric Status: configure-success, Fabric Health: Black
+-------------+-----+-----------+-------+-------+--------------+-------------------+-------------------+-----------------+---------+-------+
| IP ADDRESS  | POD | HOST NAME |  ASN  | ROLE  | DEVICE STATE |     APP STATE     | CONFIG GEN REASON | PENDING CONFIGS | VTLB ID | LB ID |
+-------------+-----+-----------+-------+-------+--------------+-------------------+-------------------+-----------------+---------+-------+
| 10.20.246.1 |     | NH-1      | 64512 | spine | provisioned  | cfg in-sync       | NA                | NA              | NA      | 1     |
| 10.20.246.2 |     | NH-2      | 64512 | spine | provisioned  | cfg in-sync       | NA                | NA              | NA      | 1     |
| 10.20.246.3 |     | NH-Leaf1  | 65002 | leaf  | provisioned  | cfg refresh error | LD,IU,POU         | BGP-U,INTIP-U   | 2       | 1     |
| 10.20.246.4 |     | NH-Leaf2  | 65002 | leaf  | provisioned  | cfg refresh error | LD,POU            |                 | 2       | 1     |
| 10.20.246.5 |     | NHF-Leaf1 | 65001 | leaf  | provisioned  | cfg refresh error | LD,IU,POU         | BGP-U           | 2       | 1     |
| 10.20.246.6 |     | NHF-Leaf2 | 65001 | leaf  | provisioned  | cfg refresh error | LD,POU            |                 | 2       | 1     |
+-------------+-----+-----------+-------+-------+--------------+-------------------+-------------------+-----------------+---------+-------+

CONFIG GEN REASON:
LA/LD - Link Add/Delete, IA/ID/IU - Interface Add/Delete/Update, PLC/PLD/PLU - IPPrefixList Create/Delete/Update
MD/MU - MCT Delete/Update, OD/OU - Overlay Gateway Delete/Update, EU/ED - Evpn Delete/Update, PC/PD/PU - RouterPim Create/Delete/Update
DD - Dependent Device Update, DA/DR - Device Add/ReAdd, ASN - Asn Update, SYS - System Properties Update
MD5 - BGP MD5 Password, BGPU - Router BGP Update, BGPLL - BGP Listen Limit, POU - Port Channel Update, NA - Not Applicable

PENDING CONFIGS:
MCT - MCT Cluster, O - Overlay Gateway, SYSP - System Properties, INTIP - Interface IP, BGP - Router BGP
C/D/U - Create/Delete/Update, PA/PD - Port Add/Port Delete

For App or Device Error/Failure reason, run "efa fabric error show" for details
For config refresh reason, run "efa fabric debug config-gen-reason" for details

--- Time Elapsed: 149.741541ms ---



Fabric Health has moved to Black state due to port channel shutdown and detailed output is as below 

(efa:user)user@dev-server:~$ efa fabric health show --name fab3
===============================================================================================================================================================
Fabric Name                             :  fab3
Fabric Type                             :  clos
Fabric Health                           :  Black
 Fabric Status                          :  configure-success
 Fabric Level Physical Topology Health  :  Green
Fabric Device Health
+-------------+-------+---------------------+-------------------+---------------+
| IP ADDRESS  | ROLE  | CONFIG STATE HEALTH | OPER STATE HEALTH | DEVICE HEALTH |
+-------------+-------+---------------------+-------------------+---------------+
| 10.20.246.6 | Leaf  | Black               | Black             | Black         |
| 10.20.246.5 | Leaf  | Black               | Black             | Black         |
| 10.20.246.1 | Spine | Green               | Green             | Green         |
| 10.20.246.2 | Spine | Green               | Green             | Green         |
| 10.20.246.4 | Leaf  | Black               | Black             | Black         |
| 10.20.246.3 | Leaf  | Black               | Black             | Black         |
+-------------+-------+---------------------+-------------------+---------------+

===============================================================================================================================================================
--- Time Elapsed: 50.608113ms ---



(efa:user)user@dev-server:~$ efa fabric health show --name fab3 --detail
===============================================================================================================================================================
Fabric Name                              :  fab3
Fabric Type                              :  clos
Fabric Health                            :  Black
 Fabric Status                           :  configure-success
 Fabric Level Physical Topology Health   :  Green
---------------------------------------------------------------------------------------------------------------------------------------------------------------
Fabric Device Health

 Device IP [Role]                       :  10.20.246.6 [Leaf]
  Device Health                         :  Black
  Configuration State Health            :  Black
    Dev State                           :  provisioned
    App State                           :  cfg refresh error
  Operational State Health              :  Black
    Cluster Health                      :  Black
      Operational State                 :  true
      Peer Operational State            :  false
      Peer Keepalive Operational State  :  true
    Physical Topology Device Health     :  Red
    Device physical topology errors
+----------------+------------------+-----------------+-----------------------+---------------------+-----------------------+----------------------+----------------------------+---------------+
| SOURCE NODE IP | SOURCE NODE ROLE | SOURCE NODE POD | SOURCE NODE INTERFACE | DESTINATION NODE IP | DESTINATION NODE ROLE | DESTINATION NODE POD | DESTINATION NODE INTERFACE |     ERROR     |
+----------------+------------------+-----------------+-----------------------+---------------------+-----------------------+----------------------+----------------------------+---------------+
| 10.20.246.6    | Leaf             |                 |                       | 10.20.246.5         | Leaf                  |                      |                            | missing-links |
+----------------+------------------+-----------------+-----------------------+---------------------+-----------------------+----------------------+----------------------------+---------------+
    Underlay Topology Device Health     :  Black
    Device underlay topology errors
+------------------+-----------------------+-------------------------+-------------+-------------------+------------------------+-------------+--------------------+---------------+----------------+-------------------------+
| SOURCE DEVICE IP | DESTINATION DEVICE IP | SOURCE DEVICE ROUTER ID | NEIGHBOR IP | SOURCE DEVICE ASN | DESTINATION DEVICE ASN |     VRF     | NEIGHBOR AFI STATE | NEIGHBOR SAFI | UNDERLAY STATE |          ERROR          |
+------------------+-----------------------+-------------------------+-------------+-------------------+------------------------+-------------+--------------------+---------------+----------------+-------------------------+
| 10.20.246.6      | 10.20.246.5           | 172.31.254.55           | 10.20.20.15 | 65001             | 65001                  | default-vrf | ipv4               | unicast       | CONN           | session_not_established |
+------------------+-----------------------+-------------------------+-------------+-------------------+------------------------+-------------+--------------------+---------------+----------------+-------------------------+
 --------------------------------------------------------
 Device IP [Role]                       :  10.20.246.5 [Leaf]
  Device Health                         :  Black
  Configuration State Health            :  Black
    Dev State                           :  provisioned
    App State                           :  cfg refresh error
  Operational State Health              :  Black
    Cluster Health                      :  Black
      Operational State                 :  true
      Peer Operational State            :  false
      Peer Keepalive Operational State  :  true
    Physical Topology Device Health     :  Red
    Device physical topology errors
+----------------+------------------+-----------------+-----------------------+---------------------+-----------------------+----------------------+----------------------------+---------------+
| SOURCE NODE IP | SOURCE NODE ROLE | SOURCE NODE POD | SOURCE NODE INTERFACE | DESTINATION NODE IP | DESTINATION NODE ROLE | DESTINATION NODE POD | DESTINATION NODE INTERFACE |     ERROR     |
+----------------+------------------+-----------------+-----------------------+---------------------+-----------------------+----------------------+----------------------------+---------------+
| 10.20.246.5    | Leaf             |                 |                       | 10.20.246.6         | Leaf                  |                      |                            | missing-links |
+----------------+------------------+-----------------+-----------------------+---------------------+-----------------------+----------------------+----------------------------+---------------+
    Underlay Topology Device Health     :  Black
    Device underlay topology errors
+------------------+-----------------------+-------------------------+-------------+-------------------+------------------------+-------------+--------------------+---------------+----------------+-------------------------+
| SOURCE DEVICE IP | DESTINATION DEVICE IP | SOURCE DEVICE ROUTER ID | NEIGHBOR IP | SOURCE DEVICE ASN | DESTINATION DEVICE ASN |     VRF     | NEIGHBOR AFI STATE | NEIGHBOR SAFI | UNDERLAY STATE |          ERROR          |
+------------------+-----------------------+-------------------------+-------------+-------------------+------------------------+-------------+--------------------+---------------+----------------+-------------------------+
| 10.20.246.5      | 10.20.246.6           | 172.31.254.156          | 10.20.20.14 | 65001             | 65001                  | default-vrf | ipv4               | unicast       | CONN           | session_not_established |
+------------------+-----------------------+-------------------------+-------------+-------------------+------------------------+-------------+--------------------+---------------+----------------+-------------------------+
 --------------------------------------------------------
 Device IP [Role]                       :  10.20.246.1 [Spine]
  Device Health                         :  Green
  Configuration State Health            :  Green
    Dev State                           :  provisioned
    App State                           :  cfg in-sync
  Operational State Health              :  Green
    Physical Topology Device Health     :  Green
    Underlay Topology Device Health     :  Green
 --------------------------------------------------------
 Device IP [Role]                       :  10.20.246.2 [Spine]
  Device Health                         :  Green
  Configuration State Health            :  Green
    Dev State                           :  provisioned
    App State                           :  cfg in-sync
  Operational State Health              :  Green
    Physical Topology Device Health     :  Green
    Underlay Topology Device Health     :  Green
 --------------------------------------------------------
 Device IP [Role]                       :  10.20.246.4 [Leaf]
  Device Health                         :  Black
  Configuration State Health            :  Black
    Dev State                           :  provisioned
    App State                           :  cfg refresh error
  Operational State Health              :  Black
    Cluster Health                      :  Black
      Operational State                 :  true
      Peer Operational State            :  false
      Peer Keepalive Operational State  :  true
    Physical Topology Device Health     :  Red
    Device physical topology errors
+----------------+------------------+-----------------+-----------------------+---------------------+-----------------------+----------------------+----------------------------+---------------+
| SOURCE NODE IP | SOURCE NODE ROLE | SOURCE NODE POD | SOURCE NODE INTERFACE | DESTINATION NODE IP | DESTINATION NODE ROLE | DESTINATION NODE POD | DESTINATION NODE INTERFACE |     ERROR     |
+----------------+------------------+-----------------+-----------------------+---------------------+-----------------------+----------------------+----------------------------+---------------+
| 10.20.246.4    | Leaf             |                 |                       | 10.20.246.3         | Leaf                  |                      |                            | missing-links |
+----------------+------------------+-----------------+-----------------------+---------------------+-----------------------+----------------------+----------------------------+---------------+
    Underlay Topology Device Health     :  Black
    Device underlay topology errors
+------------------+-----------------------+-------------------------+-------------+-------------------+------------------------+-------------+--------------------+---------------+----------------+-------------------------+
| SOURCE DEVICE IP | DESTINATION DEVICE IP | SOURCE DEVICE ROUTER ID | NEIGHBOR IP | SOURCE DEVICE ASN | DESTINATION DEVICE ASN |     VRF     | NEIGHBOR AFI STATE | NEIGHBOR SAFI | UNDERLAY STATE |          ERROR          |
+------------------+-----------------------+-------------------------+-------------+-------------------+------------------------+-------------+--------------------+---------------+----------------+-------------------------+
| 10.20.246.4      | 10.20.246.3           | 172.31.254.2            | 10.20.20.16 | 65002             | 65002                  | default-vrf | ipv4               | unicast       | CONN           | session_not_established |
+------------------+-----------------------+-------------------------+-------------+-------------------+------------------------+-------------+--------------------+---------------+----------------+-------------------------+
 --------------------------------------------------------
 Device IP [Role]                       :  10.20.246.3 [Leaf]
  Device Health                         :  Black
  Configuration State Health            :  Black
    Dev State                           :  provisioned
    App State                           :  cfg refresh error
  Operational State Health              :  Black
    Cluster Health                      :  Black
      Operational State                 :  true
      Peer Operational State            :  false
      Peer Keepalive Operational State  :  true
    Physical Topology Device Health     :  Red
    Device physical topology errors
+----------------+------------------+-----------------+-----------------------+---------------------+-----------------------+----------------------+----------------------------+---------------+
| SOURCE NODE IP | SOURCE NODE ROLE | SOURCE NODE POD | SOURCE NODE INTERFACE | DESTINATION NODE IP | DESTINATION NODE ROLE | DESTINATION NODE POD | DESTINATION NODE INTERFACE |     ERROR     |
+----------------+------------------+-----------------+-----------------------+---------------------+-----------------------+----------------------+----------------------------+---------------+
| 10.20.246.3    | Leaf             |                 |                       | 10.20.246.4         | Leaf                  |                      |                            | missing-links |
+----------------+------------------+-----------------+-----------------------+---------------------+-----------------------+----------------------+----------------------------+---------------+
    Underlay Topology Device Health     :  Black
    Device underlay topology errors
+------------------+-----------------------+-------------------------+-------------+-------------------+------------------------+-------------+--------------------+---------------+----------------+-------------------------+
| SOURCE DEVICE IP | DESTINATION DEVICE IP | SOURCE DEVICE ROUTER ID | NEIGHBOR IP | SOURCE DEVICE ASN | DESTINATION DEVICE ASN |     VRF     | NEIGHBOR AFI STATE | NEIGHBOR SAFI | UNDERLAY STATE |          ERROR          |
+------------------+-----------------------+-------------------------+-------------+-------------------+------------------------+-------------+--------------------+---------------+----------------+-------------------------+
| 10.20.246.3      | 10.20.246.4           | 172.31.254.246          | 10.20.20.17 | 65002             | 65002                  | default-vrf | ipv4               | unicast       | CONN           | session_not_established |
+------------------+-----------------------+-------------------------+-------------+-------------------+------------------------+-------------+--------------------+---------------+----------------+-------------------------+
---------------------------------------------------------------------------------------------------------------------------------------------------------------

===============================================================================================================================================================
--- Time Elapsed: 52.950728ms ---